package com.yckj.ytracker.api.enums;

/**
 * @author liuwei
 * @version 2017/10/16 下午4:01
 * @description 功能描述
 * @see
 * @since 1.0
 */
public enum SpanStatus {
    OK(1, "OK"),

    ERROR(2, "ERROR"),

    TIMEOUT(3, "TIMEOUT");

    private int key;
    private String value;

    private SpanStatus(int key, String value) {
        this.key = key;
        this.value = value;
    }

    public int getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }
}
